//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

using System;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder;

namespace EntLibContrib.Query.Configuration
{
	/// <summary>
	/// Configuration data defining ParameterData. This configuration section defines the name and type
	/// of the IParameter class
	/// </summary>
	[Assembler(typeof(TypeInstantiationAssembler<IParameter, ParameterData>))]
	public class ParameterData : NameTypeConfigurationElement
	{
		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="ParameterData"/> class.
		/// </summary>
		public ParameterData()
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="ParameterData"/> class.
		/// </summary>
		/// <param name="name">The parameter name.</param>
		/// <param name="type">The <see cref="P:Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NameTypeConfigurationElement.Type"/> that this element is the configuration for.</param>
		public ParameterData(string name, Type type)
			: base(name, type)
		{
		}
		#endregion
	}
}
